package com.cuicuisha.gxyp.model.entity.base;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * ClassName: BaseEntity
 * Description:
 *
 * @Author 脆脆鲨
 * @Create 2024-09-09 20:23
 * @Version 1.0
 */
@Data
public class BaseEntity implements Serializable {
    @Schema(description = "id")
    private Long id;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    private Integer isDeleted;
}
